Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/lint and type events service #8342

Merged
merged 8 commits into from
Jan 17, 2025

Conversation

makelicious
Copy link
Collaborator

  • Share lint rules between event client and backend
  • Update events to match linting rules
  • Update typescript to be the same as other services
  • Refactor deduplication types to allow recursive definitions. Might prove helpful if we apply similar style for other parts of CC.

@makelicious makelicious requested review from rikukissa and jamil314 and removed request for rikukissa January 16, 2025 13:59
Copy link

Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:

  • Changelog is read by country implementors who might not always be familiar with all technical details of OpenCRVS. Keep language high-level, user friendly and avoid technical references to internals.
  • Answer "What's new?", "Why was the change made?" and "Why should I care?" for each change.
  • If it's a breaking change, include a migration guide answering "What do I need to do to upgrade?".

@makelicious makelicious added the 🚀 Ready to deploy Deployment automation should pick this PR up and start auto-deploying it label Jan 16, 2025
@github-actions github-actions bot temporarily deployed to chorelint-and-type-events-service January 16, 2025 13:59 Inactive
@makelicious makelicious temporarily deployed to chorelint-and-type-events-service January 16, 2025 14:07 — with GitHub Actions Inactive
@makelicious makelicious temporarily deployed to chorelint-and-type-events-service January 16, 2025 15:09 — with GitHub Actions Inactive
@ocrvs-bot
Copy link
Collaborator

Your environment is deployed to https://chorelint-and-type-events-service.opencrvs.dev

@makelicious makelicious deployed to chorelint-and-type-events-service January 17, 2025 07:27 — with GitHub Actions Active
@@ -121,7 +121,7 @@ export function seeder() {
id: createdUser.insertedId.toString()
}
}
const seedLocations = (db: Db, locations: Location[]) =>
const seedLocations = async (db: Db, locations: Location[]) =>
db.collection('locations').insertMany(locations)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
db.collection('locations').insertMany(locations)
await db.collection('locations').insertMany(locations)

@makelicious makelicious merged commit c71f4b9 into develop Jan 17, 2025
71 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Ready to deploy Deployment automation should pick this PR up and start auto-deploying it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants